package cn.kgc.springboot.util;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.stereotype.Component;

/**
 * @author mosin
 * date 2021/12/16
 * @version 1.0
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
@Component
public class Result<T> {

    private  int code;
    private String msg;
    private int count;
    private  T data;

}
